package com.stxx.stiot2.domain;

import com.stxx.framwork.annotation.Id;
import com.stxx.framwork.annotation.Transient;
import com.stxx.framwork.tran.TranBean;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Map;

@Data
public class Alarm implements Serializable , TranBean {
    @Id
    private String id;
    private String name;
    private String terminalCode;
    private LocalDateTime confirmTime;
    private LocalDateTime clearTime;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private Boolean cleared;
    private Boolean confirmed;
    private String additionalInfo;
    private String remark;
    @Transient
    private Map<String,Object> tran;
}
